package com.dljd.javase.t9.exmaple2;

public class LianDemo {

    public  LianDemo  getResult(int a){
        return this;
    }
    public LianDemo  otherCalc(String name){
        return this;
    }

    public LianDemo  test(double d){
        return  this;
    }

    public static void main(String[] args) {
        LianDemo l= new LianDemo();
        l.getResult(10).otherCalc("aaa").test(12);
    }
}
